# -*- coding: utf-8 -*-
# @Time    : 2018/8/15 13:58
# @Author  : 聂家利
# @Email   : 1073438012@qq.com
# @File    : main.py
# @Software: PyCharm
from build_ui.mainDialog import mainDialog


def main():
    global windows
    if "windows" in globals():
        try:
            windows.deleteLater()
        except:
            pass
    windows = mainDialog()
    windows.show()


if __name__ == '__main__':
    main()